Add Steel framework implementation for create-token #302
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Steel Framework Implementation for Create-Token Example Overview
This PR adds a new implementation of the create-token example using the Steel framework. The implementation demonstrates how to create an SPL Token with metadata on Solana following best practices.
Implementation Details
Creates SPL tokens with configurable decimals (default: 9)
Sets up token metadata using Metaplex Token Metadata Program
Implements comprehensive tests using Solana Bankrun
Includes CI/CD pipeline for automated testing
Follows all contributing guidelines as specified
Features
TokenCreator class for managing token creation
Full TypeScript implementation with type safety
Bankrun-based testing suite
Clear documentation and usage examples
Error handling and input validation
Testing
✅ All tests pass locally
✅ CI/CD pipeline configured and passing
✅ Tested on local validator
✅ Follows test requirements using Solana Bankrun
Directory Structure
tokens/create-token/steel/
├── src/
│ └── programs/
│ └── create-token.ts
├── tests/
│ └── create-token.test.ts
├── README.md
├── package.json
└── tsconfig.json
How to Test
cd tokens/create-token/steel
npm install
npm test
Related Issues
Addresses program example request from Solana Foundation
Framework: Steel
Category: Create Token